﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using System.Windows.Shapes;
using Sparkle.Demo.Model;
using Sparkle.SL.Demo.UI.Attributes;

namespace Sparkle.SL.Demo.UI
{
    /// <summary>
    /// Interaction logic for PersonControl.xaml
    /// </summary>
    [Report(FolderName="c:\\", Title="Test Report" )]
    [LinkMenu("Test Menu",typeof(ObjectSelector))]
    public partial class PersonControl : UserControl
    {
        public PersonControl()
        {
            InitializeComponent();
            Loaded += new RoutedEventHandler(PersonControl_Loaded);
        }

        void PersonControl_Loaded(object sender, RoutedEventArgs e)
        {
            Employee emp = new Employee() { FName = "hh", Id = 11, LName = "ppp" };
            hsl.DataContext = emp; ;
        }
    }
}
